Skip to content

Split StackAdapter into StackRecordAdapter and StackBlobAdapter#42

Merged
cuibonobo merged 2 commits into
mainfrom
claude/adapter-split
Jun 23, 2026
Merged

Split StackAdapter into StackRecordAdapter and StackBlobAdapter#42
cuibonobo merged 2 commits into
mainfrom
claude/adapter-split

Conversation

@cuibonobo

Copy link
Copy Markdown
Member

StackAdapter is now a type alias for StackRecordAdapter & StackBlobAdapter.
Use combineAdapters({ record, blob }) to compose different backends, e.g.
SQLite records with S3 blobs.

  • StackRecordAdapter: capabilities, identity, records, associations,
    versions, types, lifecycle
  • StackBlobAdapter: putAttachment, getAttachment, deleteAttachment, lifecycle
  • combineAdapters() exported from @haverstack/core
  • DiskBlobAdapter extracted from SQLiteAdapter and exported from
    @haverstack/adapter-sqlite; SQLiteAdapter delegates its blob methods to it

Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01FiDqP6DsUEgtxTaAUj62iE

claude added 2 commits June 23, 2026 13:45
StackAdapter is now a type alias for StackRecordAdapter & StackBlobAdapter.
Use combineAdapters({ record, blob }) to compose different backends, e.g.
SQLite records with S3 blobs.

- StackRecordAdapter: capabilities, identity, records, associations,
  versions, types, lifecycle
- StackBlobAdapter: putAttachment, getAttachment, deleteAttachment, lifecycle
- combineAdapters() exported from @haverstack/core
- DiskBlobAdapter extracted from SQLiteAdapter and exported from
  @haverstack/adapter-sqlite; SQLiteAdapter delegates its blob methods to it

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FiDqP6DsUEgtxTaAUj62iE
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FiDqP6DsUEgtxTaAUj62iE
@cuibonobo cuibonobo merged commit fac8cfe into main Jun 23, 2026
5 checks passed
@cuibonobo cuibonobo deleted the claude/adapter-split branch June 23, 2026 17:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants